import { NodeTypes } from "../ast";

export function isText(node) {
    // 判断是不是插值或者text
    return (
        node.type === NodeTypes.TEXT || node.type === NodeTypes.INTERPOLATION
    )
}